package cn.wangsy.zhidao.p20170309;

public class StringTest {

	public static void main(String[] args) {
		
		/*String str = "afgdhtesdterfbdrteafe";
		System.out.println(str);
		System.out.println(str.length());
		System.out.println(str.replace('a', 'A'));
		System.out.println(str.indexOf("bc"));*/

		
		String str1 = "869+287/-8252/0<9654+5-/1<<08+<5+9225*-0+/041+552280057<28-1433>-/2-25>517*657+5*191";
		int perlength = str1.length()/4;
		for(int i=0;i<4;i++){
			if(i==3){
				System.out.println(str1.substring(i*perlength));
			}else{
				System.out.println(str1.substring(i*perlength,(i+1)*perlength));
			}
		}
		
	}

}
